import request from '@/utils/request'

// 查询张拉技术要求参数列表
export function listNLaboratoryTensionRequires(query) {
  return request({
    url: '/zhgd/nLaboratoryTensionRequires/list',
    method: 'get',
    params: query
  })
}

// 查询张拉技术要求参数详细
export function getNLaboratoryTensionRequires(id) {
  return request({
    url: '/zhgd/nLaboratoryTensionRequires/' + id,
    method: 'get'
  })
}

// 新增张拉技术要求参数
export function addNLaboratoryTensionRequires(data) {
  return request({
    url: '/zhgd/nLaboratoryTensionRequires',
    method: 'post',
    data: data
  })
}

// 修改张拉技术要求参数
export function updateNLaboratoryTensionRequires(data) {
  return request({
    url: '/zhgd/nLaboratoryTensionRequires',
    method: 'put',
    data: data
  })
}

// 删除张拉技术要求参数
export function delNLaboratoryTensionRequires(id) {
  return request({
    url: '/zhgd/nLaboratoryTensionRequires/' + id,
    method: 'delete'
  })
}
